home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…rary 5 (Internal Edition) / Apple R&P Lib Internal v5.0.iso / 6-Developer Demos / Developer Demos-Ed. / Macintosh School® CD-ROM Demo / Macintosh SchoolÆ CD-ROM Demo / card_109656.txt < prev    next >
Text File  |  1990-08-14  |  11KB  |  517 lines

  1. -- card: 109656 from stack: in
  2. -- bmap block id: 110175
  3. -- flags: 4000
  4. -- background id: 14423
  5. -- name: Term Report…
  6. ----- HyperTalk script -----
  7. on groupOne shiftKey
  8.   if (the shiftKey is down) or (shiftKey is down) then
  9.     set hilite of target to not hilite of target
  10.   else
  11.     if not hilite of target then
  12.       lock screen
  13.       repeat with index = 2 to 7
  14.         set hilite of button id index to false
  15.       end repeat
  16.       unlock screen
  17.       set hilite of target to true
  18.     end if
  19.   end if
  20. end groupOne
  21.  
  22. on closeCard
  23.   repeat with index = 2 to 7
  24.     set hilite of button id index to false
  25.   end repeat
  26.   repeat with index = 8 to 29
  27.     set hilite of button id index to false
  28.   end repeat
  29. end closeCard
  30.  
  31.  
  32.  
  33. -- part 1 (button)
  34. -- low flags: 00
  35. -- high flags: 0000
  36. -- rect: left=0 top=0 right=342 bottom=512
  37. -- title width / last selected line: 0
  38. -- icon id / first selected line: 0 / 0
  39. -- text alignment: 1
  40. -- font id: 0
  41. -- text size: 12
  42. -- style flags: 0
  43. -- line height: 16
  44. -- part name: 
  45.  
  46.  
  47. -- part 2 (button)
  48. -- low flags: 00
  49. -- high flags: 0000
  50. -- rect: left=66 top=77 right=93 bottom=205
  51. -- title width / last selected line: 0
  52. -- icon id / first selected line: 0 / 0
  53. -- text alignment: 1
  54. -- font id: 0
  55. -- text size: 12
  56. -- style flags: 0
  57. -- line height: 16
  58. -- part name: 
  59. ----- HyperTalk script -----
  60. on mouseUp shiftKey
  61.   groupOne shiftKey
  62. end mouseUp
  63.  
  64.  
  65. -- part 3 (button)
  66. -- low flags: 00
  67. -- high flags: 0000
  68. -- rect: left=66 top=93 right=109 bottom=205
  69. -- title width / last selected line: 0
  70. -- icon id / first selected line: 0 / 0
  71. -- text alignment: 1
  72. -- font id: 0
  73. -- text size: 12
  74. -- style flags: 0
  75. -- line height: 16
  76. -- part name: 
  77. ----- HyperTalk script -----
  78. on mouseUp shiftKey
  79.   groupOne shiftKey
  80. end mouseUp
  81.  
  82.  
  83. -- part 4 (button)
  84. -- low flags: 00
  85. -- high flags: 0000
  86. -- rect: left=66 top=109 right=125 bottom=205
  87. -- title width / last selected line: 0
  88. -- icon id / first selected line: 0 / 0
  89. -- text alignment: 1
  90. -- font id: 0
  91. -- text size: 12
  92. -- style flags: 0
  93. -- line height: 16
  94. -- part name: 
  95. ----- HyperTalk script -----
  96. on mouseUp shiftKey
  97.   groupOne shiftKey
  98. end mouseUp
  99.  
  100.  
  101. -- part 5 (button)
  102. -- low flags: 00
  103. -- high flags: 0000
  104. -- rect: left=66 top=125 right=141 bottom=205
  105. -- title width / last selected line: 0
  106. -- icon id / first selected line: 0 / 0
  107. -- text alignment: 1
  108. -- font id: 0
  109. -- text size: 12
  110. -- style flags: 0
  111. -- line height: 16
  112. -- part name: 
  113. ----- HyperTalk script -----
  114. on mouseUp shiftKey
  115.   groupOne shiftKey
  116. end mouseUp
  117.  
  118.  
  119. -- part 6 (button)
  120. -- low flags: 00
  121. -- high flags: 0000
  122. -- rect: left=66 top=141 right=157 bottom=205
  123. -- title width / last selected line: 0
  124. -- icon id / first selected line: 0 / 0
  125. -- text alignment: 1
  126. -- font id: 0
  127. -- text size: 12
  128. -- style flags: 0
  129. -- line height: 16
  130. -- part name: 
  131. ----- HyperTalk script -----
  132. on mouseUp shiftKey
  133.   groupOne shiftKey
  134. end mouseUp
  135.  
  136.  
  137. -- part 7 (button)
  138. -- low flags: 00
  139. -- high flags: 0000
  140. -- rect: left=66 top=157 right=173 bottom=205
  141. -- title width / last selected line: 0
  142. -- icon id / first selected line: 0 / 0
  143. -- text alignment: 1
  144. -- font id: 0
  145. -- text size: 12
  146. -- style flags: 0
  147. -- line height: 16
  148. -- part name: 
  149. ----- HyperTalk script -----
  150. on mouseUp shiftKey
  151.   groupOne shiftKey
  152. end mouseUp
  153.  
  154.  
  155. -- part 8 (button)
  156. -- low flags: 00
  157. -- high flags: A005
  158. -- rect: left=229 top=76 right=92 bottom=298
  159. -- title width / last selected line: 0
  160. -- icon id / first selected line: 0 / 0
  161. -- text alignment: 1
  162. -- font id: 0
  163. -- text size: 12
  164. -- style flags: 0
  165. -- line height: 16
  166. -- part name: Term 1
  167.  
  168.  
  169. -- part 9 (button)
  170. -- low flags: 00
  171. -- high flags: A005
  172. -- rect: left=229 top=92 right=108 bottom=298
  173. -- title width / last selected line: 0
  174. -- icon id / first selected line: 0 / 0
  175. -- text alignment: 1
  176. -- font id: 0
  177. -- text size: 12
  178. -- style flags: 0
  179. -- line height: 16
  180. -- part name: Term 2
  181.  
  182.  
  183. -- part 10 (button)
  184. -- low flags: 00
  185. -- high flags: A005
  186. -- rect: left=229 top=108 right=124 bottom=298
  187. -- title width / last selected line: 0
  188. -- icon id / first selected line: 0 / 0
  189. -- text alignment: 1
  190. -- font id: 0
  191. -- text size: 12
  192. -- style flags: 0
  193. -- line height: 16
  194. -- part name: Term 3
  195.  
  196.  
  197. -- part 11 (button)
  198. -- low flags: 00
  199. -- high flags: A005
  200. -- rect: left=299 top=76 right=92 bottom=368
  201. -- title width / last selected line: 0
  202. -- icon id / first selected line: 0 / 0
  203. -- text alignment: 1
  204. -- font id: 0
  205. -- text size: 12
  206. -- style flags: 0
  207. -- line height: 16
  208. -- part name: Term 4
  209.  
  210.  
  211. -- part 12 (button)
  212. -- low flags: 00
  213. -- high flags: A005
  214. -- rect: left=299 top=92 right=108 bottom=368
  215. -- title width / last selected line: 0
  216. -- icon id / first selected line: 0 / 0
  217. -- text alignment: 1
  218. -- font id: 0
  219. -- text size: 12
  220. -- style flags: 0
  221. -- line height: 16
  222. -- part name: Term 5
  223.  
  224.  
  225. -- part 13 (button)
  226. -- low flags: 00
  227. -- high flags: A005
  228. -- rect: left=299 top=108 right=124 bottom=368
  229. -- title width / last selected line: 0
  230. -- icon id / first selected line: 0 / 0
  231. -- text alignment: 1
  232. -- font id: 0
  233. -- text size: 12
  234. -- style flags: 0
  235. -- line height: 16
  236. -- part name: Term 6
  237.  
  238.  
  239. -- part 14 (button)
  240. -- low flags: 00
  241. -- high flags: A005
  242. -- rect: left=370 top=76 right=92 bottom=439
  243. -- title width / last selected line: 0
  244. -- icon id / first selected line: 0 / 0
  245. -- text alignment: 1
  246. -- font id: 0
  247. -- text size: 12
  248. -- style flags: 0
  249. -- line height: 16
  250. -- part name: Term 7
  251.  
  252.  
  253. -- part 15 (button)
  254. -- low flags: 00
  255. -- high flags: A005
  256. -- rect: left=370 top=92 right=108 bottom=439
  257. -- title width / last selected line: 0
  258. -- icon id / first selected line: 0 / 0
  259. -- text alignment: 1
  260. -- font id: 0
  261. -- text size: 12
  262. -- style flags: 0
  263. -- line height: 16
  264. -- part name: Term 8
  265.  
  266.  
  267. -- part 16 (button)
  268. -- low flags: 00
  269. -- high flags: A005
  270. -- rect: left=370 top=108 right=124 bottom=448
  271. -- title width / last selected line: 0
  272. -- icon id / first selected line: 0 / 0
  273. -- text alignment: 1
  274. -- font id: 0
  275. -- text size: 12
  276. -- style flags: 0
  277. -- line height: 16
  278. -- part name: Midterm
  279.  
  280.  
  281. -- part 17 (button)
  282. -- low flags: 00
  283. -- high flags: A005
  284. -- rect: left=229 top=152 right=168 bottom=335
  285. -- title width / last selected line: 0
  286. -- icon id / first selected line: 0 / 0
  287. -- text alignment: 1
  288. -- font id: 0
  289. -- text size: 12
  290. -- style flags: 0
  291. -- line height: 16
  292. -- part name: Letter grade
  293.  
  294.  
  295. -- part 18 (button)
  296. -- low flags: 00
  297. -- high flags: A005
  298. -- rect: left=229 top=168 right=184 bottom=335
  299. -- title width / last selected line: 0
  300. -- icon id / first selected line: 0 / 0
  301. -- text alignment: 1
  302. -- font id: 0
  303. -- text size: 12
  304. -- style flags: 0
  305. -- line height: 16
  306. -- part name: Percentage
  307.  
  308.  
  309. -- part 19 (button)
  310. -- low flags: 00
  311. -- high flags: A005
  312. -- rect: left=229 top=200 right=216 bottom=325
  313. -- title width / last selected line: 0
  314. -- icon id / first selected line: 0 / 0
  315. -- text alignment: 1
  316. -- font id: 0
  317. -- text size: 12
  318. -- style flags: 0
  319. -- line height: 16
  320. -- part name: Work habit
  321.  
  322.  
  323. -- part 20 (button)
  324. -- low flags: 00
  325. -- high flags: A005
  326. -- rect: left=229 top=216 right=232 bottom=325
  327. -- title width / last selected line: 0
  328. -- icon id / first selected line: 0 / 0
  329. -- text alignment: 1
  330. -- font id: 0
  331. -- text size: 12
  332. -- style flags: 0
  333. -- line height: 16
  334. -- part name: Citizenship
  335.  
  336.  
  337. -- part 21 (button)
  338. -- low flags: 00
  339. -- high flags: A005
  340. -- rect: left=229 top=248 right=264 bottom=303
  341. -- title width / last selected line: 0
  342. -- icon id / first selected line: 0 / 0
  343. -- text alignment: 1
  344. -- font id: 0
  345. -- text size: 12
  346. -- style flags: 0
  347. -- line height: 16
  348. -- part name: Present
  349.  
  350.  
  351. -- part 22 (button)
  352. -- low flags: 00
  353. -- high flags: A005
  354. -- rect: left=229 top=264 right=280 bottom=303
  355. -- title width / last selected line: 0
  356. -- icon id / first selected line: 0 / 0
  357. -- text alignment: 1
  358. -- font id: 0
  359. -- text size: 12
  360. -- style flags: 0
  361. -- line height: 16
  362. -- part name: Late
  363.  
  364.  
  365. -- part 23 (button)
  366. -- low flags: 00
  367. -- high flags: A005
  368. -- rect: left=229 top=280 right=296 bottom=303
  369. -- title width / last selected line: 0
  370. -- icon id / first selected line: 0 / 0
  371. -- text alignment: 1
  372. -- font id: 0
  373. -- text size: 12
  374. -- style flags: 0
  375. -- line height: 16
  376. -- part name: Absent
  377.  
  378.  
  379. -- part 24 (button)
  380. -- low flags: 00
  381. -- high flags: A005
  382. -- rect: left=344 top=152 right=168 bottom=439
  383. -- title width / last selected line: 0
  384. -- icon id / first selected line: 0 / 0
  385. -- text alignment: 1
  386. -- font id: 0
  387. -- text size: 12
  388. -- style flags: 0
  389. -- line height: 16
  390. -- part name: Comment 1
  391.  
  392.  
  393. -- part 25 (button)
  394. -- low flags: 00
  395. -- high flags: A005
  396. -- rect: left=344 top=168 right=184 bottom=439
  397. -- title width / last selected line: 0
  398. -- icon id / first selected line: 0 / 0
  399. -- text alignment: 1
  400. -- font id: 0
  401. -- text size: 12
  402. -- style flags: 0
  403. -- line height: 16
  404. -- part name: Comment 2
  405.  
  406.  
  407. -- part 26 (button)
  408. -- low flags: 00
  409. -- high flags: A005
  410. -- rect: left=344 top=184 right=200 bottom=439
  411. -- title width / last selected line: 0
  412. -- icon id / first selected line: 0 / 0
  413. -- text alignment: 1
  414. -- font id: 0
  415. -- text size: 12
  416. -- style flags: 0
  417. -- line height: 16
  418. -- part name: Comment 3
  419.  
  420.  
  421. -- part 27 (button)
  422. -- low flags: 00
  423. -- high flags: A005
  424. -- rect: left=344 top=200 right=216 bottom=439
  425. -- title width / last selected line: 0
  426. -- icon id / first selected line: 0 / 0
  427. -- text alignment: 1
  428. -- font id: 0
  429. -- text size: 12
  430. -- style flags: 0
  431. -- line height: 16
  432. -- part name: Comment 4
  433.  
  434.  
  435. -- part 28 (button)
  436. -- low flags: 00
  437. -- high flags: A005
  438. -- rect: left=344 top=216 right=232 bottom=439
  439. -- title width / last selected line: 0
  440. -- icon id / first selected line: 0 / 0
  441. -- text alignment: 1
  442. -- font id: 0
  443. -- text size: 12
  444. -- style flags: 0
  445. -- line height: 16
  446. -- part name: Comment 5
  447.  
  448.  
  449. -- part 29 (button)
  450. -- low flags: 00
  451. -- high flags: A005
  452. -- rect: left=344 top=264 right=280 bottom=423
  453. -- title width / last selected line: 0
  454. -- icon id / first selected line: 0 / 0
  455. -- text alignment: 1
  456. -- font id: 0
  457. -- text size: 12
  458. -- style flags: 0
  459. -- line height: 16
  460. -- part name: for each
  461.  
  462.  
  463. -- part 30 (button)
  464. -- low flags: 00
  465. -- high flags: 2000
  466. -- rect: left=95 top=307 right=325 bottom=193
  467. -- title width / last selected line: 0
  468. -- icon id / first selected line: 0 / 0
  469. -- text alignment: 1
  470. -- font id: 0
  471. -- text size: 12
  472. -- style flags: 0
  473. -- line height: 16
  474. -- part name: Comments…
  475.  
  476.  
  477. -- part 31 (button)
  478. -- low flags: 00
  479. -- high flags: 2000
  480. -- rect: left=251 top=307 right=325 bottom=319
  481. -- title width / last selected line: 0
  482. -- icon id / first selected line: 0 / 0
  483. -- text alignment: 1
  484. -- font id: 0
  485. -- text size: 12
  486. -- style flags: 0
  487. -- line height: 16
  488. -- part name: Print
  489. ----- HyperTalk script -----
  490. on mouseUp
  491.   lock screen
  492.   go to card "Term Reports" of this background
  493.   unlock screen
  494. end mouseUp
  495.  
  496.  
  497.  
  498. -- part 32 (button)
  499. -- low flags: 00
  500. -- high flags: 2000
  501. -- rect: left=345 top=307 right=325 bottom=413
  502. -- title width / last selected line: 0
  503. -- icon id / first selected line: 0 / 0
  504. -- text alignment: 1
  505. -- font id: 0
  506. -- text size: 12
  507. -- style flags: 0
  508. -- line height: 16
  509. -- part name: Cancel
  510. ----- HyperTalk script -----
  511. on mouseUp
  512.   lock screen
  513.   pop card
  514.   unlock screen
  515. end mouseUp
  516.  
  517.